const CracoStylusPlugin = require('craco-stylus');
// const CracoStylusLoaderPlugin = require("craco-stylus-loader");
const path = require("path");
const resolve = dir => path.resolve(__dirname, dir);

module.exports = {
  plugins:[
    {
      plugin: CracoStylusPlugin
    }
  ],
  webpack: {
    alias: {
      "@": resolve("src"),
      "@common": resolve("src/common")
    }
  }
}
